package action;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import biz.CartBiz;

public class DogCartRemoveAction implements DogAction {

	@Override
	public void execute(HttpServletRequest request, HttpServletResponse response) {
		CartBiz cartBiz = new CartBiz();
		try {
			request.setCharacterEncoding("euc-kr");
			String kinds[] = request.getParameterValues("delete");
			cartBiz.cartRemove(request, kinds);
			response.sendRedirect("dogcartlist.dog");
		} catch (IOException e) {
			e.printStackTrace();
		}//try~catch
	}//exe
}//class
